﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.Entities
{
    class COLICHTAICHUC
    {
        private string _macb;

        public string macb
        {
            get { return _macb; }
            set { _macb = value; }
        }

        private string _mamon;

        public string mamon
        {
            get { return _mamon; }
            set { _mamon = value; }
        }

        private string _matinh;

        public string matinh
        {
            get { return _matinh; }
            set { _matinh = value; }
        }

        private int _tuan_bdd;

        public int tuan_bdd
        {
            get { return _tuan_bdd; }
            set { _tuan_bdd = value; }
        }

        private int _tuan_ktd;

        public int tuan_ktd
        {
            get { return _tuan_ktd; }
            set { _tuan_ktd = value; }
        }

        private string _buoi_tuan;

        public string buoi_tuan
        {
            get { return _buoi_tuan; }
            set { _buoi_tuan = value; }
        }

        public COLICHTAICHUC()
        {
        }

        public COLICHTAICHUC(DataRow row)
        {
            this._macb = row["macb"].ToString();
            this._mamon = row["mamon"].ToString();
            this._matinh = row["matinh"].ToString();
            this._tuan_bdd = (int)row["tuan_bdd"];
            this._tuan_ktd = (int)row["tuan_ktd"];
            this._buoi_tuan = row["buoi_tuan"].ToString();
        }

        public COLICHTAICHUC(string macb, string mamon, string  matinh, int tuan_bdd, int tuan_ktd, string buoi_tuan)
        {
            this._macb = macb;
            this._mamon = mamon;
            this._matinh = matinh;
            this._tuan_bdd = tuan_bdd;
            this._tuan_ktd = tuan_ktd;
            this._buoi_tuan = buoi_tuan;
        }

    }
}
